import urllib2
import requests
import simplejson
import json

url = 'http://us.api.invisiblehand.co.uk/v1/products'
#searchterm = {'query':'apple','app_id':'65cacb07','app_key':'b9e0452348a95698023fdc037deefd00'}
searchterm = {'app_key':'b9e0452348a95698023fdc037deefd00','app_id':'65cacb07','query':'apple'}
r=requests.get(url,params=searchterm)
#print(r.url)
#json.load(urllib2.urlopen("url"))
print(r.text)

